<!DOCTYPE html>
<html lang="en">
<style>
    .inputCls {
        width: 200px;
    }
</style>
<head>
    <meta charset="UTF-8">
    <title>{{ title }}</title>
</head>
<body>
<h3>{{ title }}</h3>
{#这里指定了post的路由地址#}
<form action="/book/add" method="post">
    {% csrf_token %}
    <table>
        <tr>
            {{ form.as_table }}
            <td colspan="2">
                <input type="submit" value="提交">
            </td>
        </tr>
    </table>
</form>
</body>
</html>